package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * 部门dao接口
 * @author : zjj
 * @date : 2021/6/15 16:52
 */

@Mapper
public interface DeptDao {


    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();
}
